from django.views.static import serve

from appUser import views

from WebServer import settings
from django.urls import re_path

urlpatterns = [
    re_path(r'postApi/', views.postApi, name='postApi'),
    re_path(r'nihao/', views.hello, name='hello word'),
    # 一下是测试样例
    #re_path(r'nihao/', views.hello, name='hello word'),
    #re_path(r'getApi/', views.getApi, name='getApi'),
    #re_path(r'postApi/', views.postApi, name='postApi'),
    #re_path(r'^images/(?P<path>.*)$', serve, {"document_root": settings.STATICFILES_DIRS[0]}),
]